<!DOCTYPE HTML>
<html>
<head>
<#include "../include/base.ftl">
<title>新建笔记</title>
<#include "../include/css.ftl">
<link href="/css/select-class.css" rel="stylesheet" type="text/css">
</head>
<body>

<#include "../include/top.ftl">

<div align="center" MAIN>
	<div M10 P10>

<div TITLE MDOWN15 >新建代码片段</div>

<form action="/new/code/sub" method="post">

<input type="text" name="title" value="点击编辑标题" NOTE-TITLE FOCUS P10>
<textarea spellcheck="true" name="content" NOTE-CONTENT FOCUS MIN-H400 P10></textarea>

<div style="height:30px; width:100%;">
	<div style="height:30px; float:left; width:100%; margin-bottom:40px;">
	
	<dl COPYSELECT id="isopen">
		<input type="hidden" name="isopen" value="1">
		<dt val="1" title="是否公开">公开</dt>
		<dd val="1" title="公开">公开</dd>
		<dd val="2" title="不公开">不公开</dd>
	</dl>
	
	<dl COPYSELECT id="islevel">
		<input type="hidden" name="islevel" value="2">
		<dt val="2" title="适合对象">中级</dt>
		<dd val="1" title="初级">初级</dd>
		<dd val="2" title="中级">中级</dd>
		<dd val="3" title="高级">高级</dd>
	</dl>
	
	<dl COPYSELECT id="isrelease">
		<input type="hidden" name="isrelease" value="1">
		<dt val="1">发布</dt>
		<dd val="1" title="发布">发布</dd>
		<dd val="2" title="存为草稿">存为草稿</dd>
	</dl>
	
	<input type="submit" value="保存" IBTN>
	<input type="button" value="TEST GET HTML ALL" onClick="TEST_GET_HTML_ALL()" IBTN>
	</div>
</div>

</form>

    </div>
</div>

<#include "../include/footer.ftl">

<#include "../include/js.ftl">
<script src="/script/editor.js"></script>
<script src="/script/select-class.js"></script>
<script>
var s1 = new selClass("isopen");
var s2 = new selClass("islevel");
var s3 = new selClass("isrelease");
</script>
</body>
</html>